package com.qf.java2007.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author AzureSky_X
 * @Date 2021/3/9 20:28
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ReaderInfo {
    //借阅人id
    private Long readerId;
    //借阅人名字
    private String username;
    //性别
    private String sex;
    //格式化日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    //出生日期
    private Date birth;
    //住址
    private String address;
    //联系电话
    private Long phone;

}
